package ExperimentFirst;

public class Student {
	private int ID;
	private String name;
	private int age;
	private int grades;
	public Student(int id,String n,int a,int g) {
		this.age=a;
		this.grades=g;
		this.ID=id;
		this.name=n;
	}
	public int getID() {
		return ID;
	}
	public void setID(int iD) {
		ID = iD;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getGrades() {
		return grades;
	}
	public void setGrades(int grades) {
		this.grades = grades;
	}
	public String toString() {
		return " "+ID+" "+name+" "+age+" "+grades;
	}
	

}			
